package com.simple.microservices.api.auth;


import com.simple.microservices.api.dto.LoginDTO;
import com.simple.microservices.dao.dataobject.Member;

/**
 * @author hyf
 */
public interface AuthService {


    String  login(LoginDTO loginDTO);
    String  login(String cellphone, Long id);


    Member findMemberByCellphone(String cellphone);

    void saveMember(Member req);

    Boolean checkCode(String cellphone, String code);

    void sendCode(String cellphone);
}